package com.tudouji.project.d3.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电商平台售后子对象 d3_aftersales_items
 * 
 * @author tudouji
 * @date 2023-08-21
 */
public class D3AftersalesItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 售后主表id */
    @Excel(name = "售后主表id")
    private Long sftersalesId;

    /** 平台订单号 */
    @Excel(name = "平台订单号")
    private String refoid;

    /** 平台子订单号 */
    @Excel(name = "平台子订单号")
    private String refolid;

    /** 平台售后单号 */
    @Excel(name = "平台售后单号")
    private String refaid;

    /** 平台售后子单号 */
    @Excel(name = "平台售后子单号")
    private String refalid;

    /** 商品退款状态 */
    @Excel(name = "商品退款状态")
    private String refundstatus;

    /** 总金额 */
    @Excel(name = "总金额")
    private String totalfee;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private String refundfee;

    /** 单价 */
    @Excel(name = "单价")
    private String price;

    /** 数量 */
    @Excel(name = "数量")
    private String num;

    /** 商品spuid */
    @Excel(name = "商品spuid")
    private String refspuid;

    /** 商品skuid */
    @Excel(name = "商品skuid")
    private String refskuid;

    /** 商家编码 */
    @Excel(name = "商家编码")
    private String outerid;

    /** 商品标题 */
    @Excel(name = "商品标题")
    private String title;

    /** 换货单的原商品sku */
    @Excel(name = "换货单的原商品sku")
    private String refboughtskuid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSftersalesId(Long sftersalesId) 
    {
        this.sftersalesId = sftersalesId;
    }

    public Long getSftersalesId() 
    {
        return sftersalesId;
    }
    public void setRefoid(String refoid) 
    {
        this.refoid = refoid;
    }

    public String getRefoid() 
    {
        return refoid;
    }
    public void setRefolid(String refolid) 
    {
        this.refolid = refolid;
    }

    public String getRefolid() 
    {
        return refolid;
    }
    public void setRefaid(String refaid) 
    {
        this.refaid = refaid;
    }

    public String getRefaid() 
    {
        return refaid;
    }
    public void setRefalid(String refalid) 
    {
        this.refalid = refalid;
    }

    public String getRefalid() 
    {
        return refalid;
    }
    public void setRefundstatus(String refundstatus) 
    {
        this.refundstatus = refundstatus;
    }

    public String getRefundstatus() 
    {
        return refundstatus;
    }
    public void setTotalfee(String totalfee) 
    {
        this.totalfee = totalfee;
    }

    public String getTotalfee() 
    {
        return totalfee;
    }
    public void setRefundfee(String refundfee) 
    {
        this.refundfee = refundfee;
    }

    public String getRefundfee() 
    {
        return refundfee;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }
    public void setRefspuid(String refspuid) 
    {
        this.refspuid = refspuid;
    }

    public String getRefspuid() 
    {
        return refspuid;
    }
    public void setRefskuid(String refskuid) 
    {
        this.refskuid = refskuid;
    }

    public String getRefskuid() 
    {
        return refskuid;
    }
    public void setOuterid(String outerid) 
    {
        this.outerid = outerid;
    }

    public String getOuterid() 
    {
        return outerid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setRefboughtskuid(String refboughtskuid) 
    {
        this.refboughtskuid = refboughtskuid;
    }

    public String getRefboughtskuid() 
    {
        return refboughtskuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sftersalesId", getSftersalesId())
            .append("refoid", getRefoid())
            .append("refolid", getRefolid())
            .append("refaid", getRefaid())
            .append("refalid", getRefalid())
            .append("refundstatus", getRefundstatus())
            .append("totalfee", getTotalfee())
            .append("refundfee", getRefundfee())
            .append("price", getPrice())
            .append("num", getNum())
            .append("refspuid", getRefspuid())
            .append("refskuid", getRefskuid())
            .append("outerid", getOuterid())
            .append("title", getTitle())
            .append("refboughtskuid", getRefboughtskuid())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
